package com.lantu.sys.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author mabc
 * @since 2024-06-29
 */
@TableName("students")
public class Students implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    private Integer studentId;

    private String name;

    private Integer enrollmentYear;

    private String department;

    private String grade;

    private String contactInfo;

    private Integer isDelete;

    private LocalDateTime creatTime;

    private LocalDateTime updateTime;

    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public Integer getEnrollmentYear() {
        return enrollmentYear;
    }

    public void setEnrollmentYear(Integer enrollmentYear) {
        this.enrollmentYear = enrollmentYear;
    }
    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }
    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }
    public String getContactInfo() {
        return contactInfo;
    }

    public void setContactInfo(String contactInfo) {
        this.contactInfo = contactInfo;
    }
    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }
    public LocalDateTime getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(LocalDateTime creatTime) {
        this.creatTime = creatTime;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Students{" +
            "studentId=" + studentId +
            ", name=" + name +
            ", enrollmentYear=" + enrollmentYear +
            ", department=" + department +
            ", grade=" + grade +
            ", contactInfo=" + contactInfo +
            ", isDelete=" + isDelete +
            ", creatTime=" + creatTime +
            ", updateTime=" + updateTime +
        "}";
    }
}
